package cn.kgc.controller;

import cn.kgc.service.ResumeService;
import cn.kgc.util.Page;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ResumeController {
    @Reference
    private ResumeService resumeService;
    @RequestMapping("/showresume.json")
    public Page findAll(Integer index, Integer size){
        return resumeService.queryByPage(index,size);
    }
}
